package co.yixiang.modules.system.dto;

import lombok.Data;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @author lww
* @date 2020-10-19
*/
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StoreIncomeDto implements Serializable {

    /** 主键 */
    private String id;

    /** 关联商铺 */
    private Integer storeId;

    /** 累计应收总额 */
    private BigDecimal shouldIncome;

    /** 累计实收总额 */
    private BigDecimal realIncome;

    /** 累计优惠金额 */
    private BigDecimal discountsMoney;

    /** 商铺现有余额 */
    private BigDecimal existingBalance;

    /** 商铺已转出金额 */
    private BigDecimal withdrawalAmount;

    /** 有效交易总单数 */
    private Integer orderNumber;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 更新时间 */
    private LocalDateTime updateTime;
}
